package com.example.xlzx.service;

import com.example.xlzx.entity.CaseAnalysis;
import com.example.xlzx.entity.Consultation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 心理医生咨询表 服务类
 * </p>
 *
 * @author 1
 * @since 2025-03-07
 */
public interface IConsultationService extends IService<Consultation> {
    void sendMessage(Consultation message);

    List<Consultation> getChatHistory(Long senderId, Long receiverId);

    List<String> getRealTimeMessages(Long senderId, Long receiverId);
}
